package oop.encapsulation;

/**
 * Created with IntelliJ IDEA.
 * ClassName: BookTest
 * Package: oop.encapsulation
 * Description:
 * User: fzykd
 *
 * @Author: LQH
 * Date: 2023-11-20
 * Time: 11:11
 */

public class BookTest {
    public static void main(String[] args) {
        Book book = new Book();
        book.setBookName("老人与海");
        book.setAuthor("海明威");
        book.setPrice(88);
        System.out.println(book.showInfo());
    }
}
